package com.qfedu.dao;

import com.qfedu.entity.Employee;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * projectName: logistics
 * author: CGY
 * time: 2020/10/9 21:10
 * description:
 */
@Repository
public interface EmployeeDao extends JpaRepository<Employee,String> {

    List<Employee> findAll();

    Employee findByEmployeeCode(String employeeCode);
}
